package com.mccree.cloud.dao.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: MccRee
 * @Date: 2022/5/31 16:16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("payment")
public class PaymentEntity implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @TableId
    private Long id;
    /**
     * 流水号
     */
    @ApiModelProperty(value = "流水号")
    private String serial;

}
